﻿using System;

namespace Model.Entities
{
    public abstract class Message : BaseEntity
    {
        public virtual string   Title           { get; set; }
        public virtual string   Text            { get; set; }
        public virtual DateTime SentDateTime    { get; set; }
        
        public virtual User     Sender          { get; set; }

        protected Message()
        {
            SentDateTime = DateTime.Now;
        }
    }
}
